etags: fix #line parsing (\\", long lines)
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Apr 2024 08:20:12 +0000 (01:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Apr 2024 08:26:21 +0000 (01:26 -0700)
commit7e2309c6fc67b8149cc4c75f8d7f5f93e60b86c7
tree313451a2a683aae3be0e04a043be0c3ea9c6dbfb
parentde59c02c685189413c7c5a136224d10152dc8a61
etags: fix #line parsing (\\", long lines)

* lib-src/etags.c (readline): Don’t mishandle lines like
‘#line 1 "a//"’, which has an escaped backslash before ‘"’.
Don’t mishandle lines so long that sscanf overflows %n.
lib-src/etags.c